<!--# layout("/common/layout.html",{"jsBase":"/js/cms/highlevelTalents/"}){ -->

<form class="layui-form " id="updateForm">
    <!--# include("/cms/common/basic.html",{"basic":highlevelTalents}){} -->
    <!--# include("commonedit.html"){} -->
    <layui:personnelsubmitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var highlevelTalentsEdit = layui.edit;
    highlevelTalentsEdit.init();

    var form = layui.form;
    form.on('select(declarationObject)', function (data) {
        var value = data.value;
        if(value==1 || value==11){
            $("#subsidyAmount").val(200000);
        }else if(value==9){
            $("#subsidyAmount").val(400000);
        }else if(value==10){
            $("#subsidyAmount").val(300000);
        }else if(value==13){
            $("#subsidyAmount").val(200000);
        }else if(value==14){
            $("#subsidyAmount").val(100000);
        }else {
            $("#subsidyAmount").val(100000);
        }
    });
});
</script>
